<template>
  <el-carousel height="500px" style="margin: 10px auto;width: 1000px">
    <el-carousel-item v-for="item in imgUrl" :key="item" >
      <img :src="item.url" style="width: 1000px;height: 500px">
    </el-carousel-item>
  </el-carousel>
</template>
<script setup>
const imgUrl=[
  {url: require("@/assets/images/index/001.png")},
  {url: require("@/assets/images/index/002.png")},
  {url: require("@/assets/images/index/003.png")},
  {url: require("@/assets/images/index/004.png")},
  {url: require("@/assets/images/index/005.png")},
  {url: require("@/assets/images/index/006.png")},
]
</script>

<style scoped>
.el-carousel__item h3 {
  display: flex;
  color: #475669;
  opacity: 0.75;
  line-height: 300px;
  margin: 0;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n + 1) {
  background-color: #d3dce6;
}

</style>
